<?php
include 'common.php';

while($receive= msg_receive($handle ,$msgtype , $type , 1024 , $msg , false, 0, $errorcode )){
    echo posix_getpid()."--parent rec:".$msg.PHP_EOL;
}


